import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

class ProfilePic extends StatelessWidget {
  const ProfilePic({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: 115,
      height: 115,
      child: Stack(
        fit: StackFit.expand,
        children: [
          CircleAvatar(
            backgroundImage: AssetImage("assets/images/Profile Image.png"),
          ),
          Positioned(
            right: 0,
            bottom: 0,
            child: SizedBox(
              height: 46,
              width: 46,
              child: ClipOval(
                child: ColoredBox(
                  color: Color(0xFFF5F6F9),
                  child: TextButton(
                    onPressed: () {},
                    child: Icon(Icons.camera_alt_outlined, size: 25),
                  ),
                ),
              ),
            ),
          ),
        ],
      ),
    );
  }
}
